Release 10.1A: OpenEdge Data Management:
SQL Development
Testing your ODBC connection on UNIX
This section contains a sample C program that can be used to test your ODBC connection. The sample program can be built at the UNIX OS prompt provided that:
To build the executable, the following command will invoke the C compiler to compile and link the executable:
Solaris and AIX:
HPUX:
Linux:
Use the following sample program to test your ODBC connection, as shown:
The test executable, once built, can be used to test the ability to connect to a running database server. The executable will take three parameters: DSN, user id, and user password:
A successful connection, using the test executable, will result in a displayed message similar to the following:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |